<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>骑行首页</title>
		<script type="text/javascript">
			window._AMapSecurityConfig = {
				securityJsCode: "ed1df4b19cd72651203609e7b68a7a3b",
			};
		</script>
		<script src="https://webapi.amap.com/loader.js"></script>
		<script type="text/javascript">
			AMapLoader.load({
				key: "25b9957cd913503b32d0f5b1abc6028f", // 申请好的Web端开发者Key，首次调用 load 时必填
				version: "2.0", // 指定要加载的 JSAPI 的版本，缺省时默认为 1.4.15
			})
				.then(AMap => {
					const map = new AMap.Map("container", {
						zoom: 11, //级别
						center: [104.066301, 30.572961], //中心点坐标
					});
				})
				.catch(e => {
					console.error(e); //加载错误提示
				});
		</script>
	</head>
	<body class="run">
		<main class="main">
			<!-- 头部导航 -->
			<nav id="navbar"></nav>
			<!-- 累积跑步距离 -->
			<div id="totaldis">
				<p>目前累计骑行距离:</p>
				<strong id="runDate">999.99</strong>公里
			</div>
			<!-- 地图 -->
			<div id="map">
				<div id="container"></div>
				<div id="goBtn">GO</div>
			</div>
		</main>
		<!-- 底部导航 -->
		<nav id="tabbar"></nav>
		<!-- 倒计时模态框 -->
		<div id="mask">
			<h1>3</h1>
		</div>
	</body>
</html>
